#ifndef _MAIN_H_
#define _MAIN_H_

#include "init.h"
#include "gd32f30x.h"

extern int16_t ParInit[PARMNUM];
extern int16_t ParMax[PARMNUM];
extern int16_t ParMin[PARMNUM];

extern uint16_t FrontSystem_Mode;
extern uint16_t BackSystem_Mode;
extern uint16_t BMSSystem_Mode;
extern uint16_t FrontAirconditionStepCnt;
extern uint16_t BackAirconditionStepCnt;
extern uint16_t BMSAirconditionStepCnt;

extern uint16_t FrontAC_Off_Cycle;
extern uint16_t FrontPTC_Off_Cycle;
extern uint16_t BackAC_Off_Cycle;

void WatchData_App(void);
void KeyCtrl_App(void);
void FrontAndBackAir_App(void);

#endif

